/**
 *  Description: Layout 好乱啊
 *  Author: Szh
 */

@import "varibles";
.ca-align-center {
    text-align: center;
}
.ca-align-left {
    text-align: left;
}
.ca-vertical-middle {
    vertical-align: middle;
}
.ca-vertical-top {
    vertical-align: top;
}
.ca-align-right {
    text-align: right;
}
.ca-pull-left {
    float: left;
}
.ca-pull-right {
    float: right;
}
.ca-inline-block{
    display:inline-block;
}
h3 {
    font-size: 16px;
    line-height: 36px;
}
h4 {
    font-size: 14px;
    line-height: 34px;
}
.ca-underline {
    text-decoration: underline;
}
.ca-pointer{
    cursor:pointer;
}

// clear float
.clearfix:after,
.clearfix:before {
    content: "";
    display: table;
    clear: both;
}
.cursor {
    cursor: pointer;
}
.right {
    margin-left: 205px;
    background: #fff;
    padding: 20px 20px 20px 20px;
}

.right__detail {
    margin-left: 205px;
    background: #fff;
    padding: 20px 20px 20px 20px;
    min-height: 1500px;
}
.clear {
    clear: both;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    line-height: normal;
}
/****边线**/

.ca-border-b {
    border-bottom: $caColorLightGray 1px solid;
}

.ca-border-t {
    border-top: $caColorLightGray 1px solid
}

.ca-border-r {
    border-right: $caColorLightGray 1px solid
}

.ca-border-l {
    border-left: $caColorLightGray 1px solid
}
/*****div布局***/
.ca-box {
    background: $caBgColorWhite;
    border: $caColorLightGray 1px solid;
}
.ca-box-border-top-none {
    background: $caBgColorWhite;
    border: $caColorLightGray 1px solid;
    border-top: none;
}
/***评审**/
.ca-review ul {
    background: url(~__assets/images/line_03.gif) repeat-y 133px;
    height: auto;
    li {
        vertical-align: middle;
        width: 100%;
        /*overflow: hidden;*/
        position: relative;
        .ca-review-ico {
            width: 140px;
            height: 15px;
            position: absolute;
            top: 46%;
            line-height: 15px;
            /*height: 64px;
            line-height: 64px;*/
            text-align: right;
            font-size: 14px;
            background: url(~__assets/images/ico_09.png) no-repeat right center;
            float: left;
            padding-right: 35px;
        }
        .ca-review-text {
            margin-left: 175px;
            padding: 33px 20px 20px 20px;
            line-height: 20px;
            position: relative;
            word-break: break-all;
        }
    }
    li:hover {
        background-color: rgba(246, 246, 246, 0.6);
        .ca-review-ico {
            background: url(~__assets/images/ico_10.png) no-repeat right center;
        }
    }
}
.ca-w-280 {
    width: 280px;
}
.ca-text-over-flow-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
/**文件列表布局**/
.ca-file-ul {
    margin-top: 20px;
    .ca-file-row {
        border: #dbe3ea 1px solid;
        margin-bottom: 15px;
        overflow: hidden;
        padding: 20px 20px;
        border-radius: 3px;
        background: #fdfdfd;
        div {
            color: #666;
            font-size: 16px;
            line-height: 38px;
        }
        .file-time {
            padding-left: 32px;
        }
        .file-img {
            text-align: center;
            vertical-align: middle;
            img {
                width: 35px;
                height: 38px;
            }
        }
        .file-download {
            float: right;
            margin: 4px 10px 0 0px;
        }
        .file-delete {
            float: right;
            padding-top: 4px;
        }
    }
    .ca-file-row:hover {
        background: #fff;
    }
    @mixin font-color {
        color: #666666;
    }
    .upload-username {
        @include font-color;
        display: inline-block;
        margin-right: 50px;
        font-size: 14px;
    }
    .upload-time {
        @include font-color;
        font-size: 16px;
    }
    .file-preview {
        @include font-color;
        font-size: 16px;
        text-align: left;
        cursor: pointer;
        &:hover {
            color: #1a85e1;
        }
    }
    .ca-download {
        border:0;
        display: inline-block;
        width: 24px;
        height: 24px;
        margin-top: -6px;
        vertical-align: middle;
        cursor: pointer;
        background: url(~__assets/images/download@2x.png) no-repeat 100% 100%;
        background-size: 24px 24px;
        &:hover {
            background: url(~__assets/images/download-2@2x.png) no-repeat 100% 100%;
            background-size: 24px 24px;
        }
    }
}
// 事件审批
.ca-file-self .ca-file-ul{
    margin-top: 0;
    .ca-file-row {
        border: none;
        overflow: hidden;
        padding: 3px 3px;
        border-radius: 3px;
        background: none;
        div {
            color: #666;
            font-size: 12px;
            line-height: 38px;
        }
        .file-time {
            padding-left: 32px;
        }
        .file-img {
            text-align: center;
            vertical-align: middle;
            img {
                width: 35px;
                height: 38px;
            }
        }
        .file-download {
            float: right;
            margin: 2px 6px 0 0px;
        }
        .file-delete {
            float: right;
            padding-top: 4px;
        }
    }
    //.ca-file-row:hover {
    //    background: rgba(246, 246, 246, 0.6);
    //}
}
.ca-p-t-22 {
    padding-top: 22px
}

.ca-vertical-align-middle {
    vertical-align: middle
}

.el-time-spinner__list>.active {
    background: none !important;
}

.ca-head-fixed {
    position: fixed;
    z-index: 8;
    padding-right: 20px;
    right: 0;
    top: 0;
    background: #fff none repeat scroll 0 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    left: 0;
    height: 42px;
    overflow: hidden;
    padding-top: 10px;
    vertical-align: middle
}

.ca-head-fixed .pre-button__color {
    font-size: 16px
}

.ca-head-fixed button {
    padding: 6px;
    position: relative;
    top: -3px;
}

.ca-head-fixed span {
    font-size: 16px
}

.ca-head-fixed span i {
    font-size: 12px;
}

.ca-head-fixed .el-button+.el-button {
    margin-left: 15px;
}


/********全局input  type为number****/

.el-input {
    vertical-align: middle
}

.el-select {
    vertical-align: middle
}
/****Safari浏览器下拉列表小箭头居下显示调整为中间***/

@media screen and (-webkit-min-device-pixel-ratio) {
    .el-select .el-input .el-input__icon {
        top: 0;
    }
}
/*弹窗在IE下不显示*/
.el-dialog__wrapper {
    position: fixed !important;
}
.el-form-item__label {
    color: #666666
}
.el-form-item-m-b-0 {
    margin-bottom: 0
}
.el-form-item__content-font-12 .el-form-item__content {
    font-size: 12px;
}
.ca-font-size-14 {
    font-size: 14px
}
.ca-font-size-16 {
    font-size: 16px
}
.ca-font-size-30 {
    font-size:30px;
}
.ca-c333{
    color:#333;
}
.ca-c666{
    color:#666;
}
/*菜单小圆点样式*/
.ca-badge__num {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    background: #ff4949;
}
/*编辑按钮*/
.ca-edit-btn{
    font-size: 12px;
    color:#666;
    cursor:pointer;
    vertical-align: middle;
    line-height:18px;
}
.ca-edit-btn:before{
    padding-right:5px;
    font-size:16px;
    vertical-align: middle;
    display:inline-block;
}
.ca-table {
    td.colorCell{
        background: #edf0f7 !important;
    }
}
/*登录样式*/
.ca-login__panel .el-form-item__error {
    color: #fff;
    margin-top: 3px;
}
.ca-login__panel .el-form-item.is-error .el-input__inner{
    border-color:#dcdfe6;
}
.ca-login__panel .ca-login-check span, .ca-login__panel .el-checkbox__input.is-checked+.el-checkbox__label{
    color:#000;
    font-size:12px;
}
//表单连续的数字、字母换行
.ca-form-show .el-form-item{
    .el-form-item__content{
        word-break: break-all;
    }
}
.ca-word-break{
    word-break: break-all;
}
.el-tooltip__popper{
    max-width: 500px;
    word-wrap:break-word;
}
.dialog_self .el-dialog__body {
    padding: 30px 20px 0;
}
.ca-font-color-999{
    color: #999;
}
// 消息提示弹框的宽度
.el-message{
    min-width:100px !important;
}
/*login*/
.ca-login-form-item .el-form-item__content{
    position:relative;
    padding-left:53px;
}
.ca-login-form-item .el-input-group__prepend{
    position:absolute;
    left:0;
    top:0;
    width:53px;
}
.ca-login-form-item .el-input-group .el-input-group__prepend{
    display:none;
}
.ca-login-form-item .el-input__inner{
    height:44px;
}
.ca-width-100{
    width:100%;
}
